<?php

/**
 * news actions.
 *
 * @package    toolrental
 * @subpackage news
 * @author     Your name here
 * @version    SVN: $Id: actions.class.php 12474 2008-10-31 10:41:27Z fabien $
 */
class newsActions extends sfActions
{
  public function executeIndex(sfWebRequest $request)
  {
	$this->menu_list = MenuPeer::getMenus();

    	$this->news_list = NewsPeer::getActiveNews();
	$this->news_archive_list = NewsPeer::getArchiveNews();

	$this->category_top_list = CategoryPeer::getTopCategories();
	$this->product_top_list = ProductPeer::getTopProducts();
  }
}
